Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translations update from Hosted Weblate #761

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

weblate
Copy link
Contributor

@weblate weblate commented May 12, 2024

Translations update from Hosted Weblate for Spook/Inverse helper.

Current translation status:

Weblate translation status

@weblate weblate force-pushed the weblate-spook-inverse-helper branch from d675dc3 to e012e8c Compare May 15, 2024 09:02
Copy link

sonarcloud bot commented May 15, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
1.2% Duplication on New Code

See analysis details on SonarCloud

skrashevich and others added 2 commits August 6, 2024 18:44
Currently translated at 19.0% (4 of 21 strings)

Translation: Spook/Inverse helper
Translate-URL: https://hosted.weblate.org/projects/spook/inverse-helper/ru/
Currently translated at 100.0% (21 of 21 strings)

Translation: Spook/Inverse helper
Translate-URL: https://hosted.weblate.org/projects/spook/inverse-helper/ru/
@weblate weblate force-pushed the weblate-spook-inverse-helper branch from e012e8c to 2b1822a Compare August 6, 2024 16:44
Copy link

coderabbitai bot commented Aug 6, 2024

Walkthrough

Walkthrough

The recent changes introduce a comprehensive Russian translation for the "spook" integration, enhancing the user experience for Russian-speaking individuals. The new JSON structure includes detailed translations for configuration options related to binary_sensor and switch, organized under config and options sections. This development significantly improves usability by providing clear, localized guidance on configuration steps, ensuring that users can interact with the integration more effectively.

Changes

File Path Change Summary
custom_components/spook/integrations/spook_inverse/translations/ru.json Added a new JSON structure with comprehensive translations for configuration options, including config with binary_sensor and switch, options, and a top-level title.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant Integration
    participant Config
    participant Options

    User->>Integration: Request configuration
    Integration->>Config: Retrieve binary_sensor and switch settings
    Config-->>Integration: Provide localized labels and descriptions
    Integration->>User: Display configuration options in Russian

    User->>Options: Explore additional options
    Options-->>User: Show detailed translation and functionality
Loading

Poem

🐇 In a meadow where shadows dance,
A spook now speaks in a Russian glance.
With each button, a tale unfolds,
In whispers of warmth, the integration holds.
Hooray for the changes, bright and clear,
Now every user can share in the cheer! 🎉


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

sonarcloud bot commented Aug 6, 2024

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 308f4a3 and 2b1822a.

Files selected for processing (1)
  • custom_components/spook/integrations/spook_inverse/translations/ru.json (1 hunks)
Additional comments not posted (6)
custom_components/spook/integrations/spook_inverse/translations/ru.json (6)

2-11: Accurate translations for binary_sensor configuration.

The translations for binary_sensor configuration are accurate and consistent. The keys entity_id, name, and hide_source are correctly translated.


12-19: Accurate translations for switch configuration.

The translations for switch configuration are accurate and consistent. The keys entity_id, name, and hide_source are correctly translated.


20-27: Accurate translations for user configuration.

The translations for user configuration are accurate and consistent. The menu options and description provide clear guidance in Russian.


30-39: Accurate translations for binary_sensor options.

The translations for binary_sensor options are accurate and consistent. The keys entity_id, name, and hide_source are correctly translated.


40-47: Accurate translations for switch options.

The translations for switch options are accurate and consistent. The keys entity_id, name, and hide_source are correctly translated.


50-50: Accurate translation for the top-level title.

The top-level title "Инвертировать 👻" is accurately translated and relevant to the context.

@frenck frenck added the maintenance Generic maintenance tasks. label Aug 6, 2024
@frenck frenck merged commit e7e1600 into frenck:main Aug 6, 2024
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Generic maintenance tasks.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants